System and method for a bus interface

ABSTRACT

In accordance with an embodiment, a method of operating a bus interface circuit includes detecting a start sequence on a plurality of input terminals, determining whether a first input terminal and a second input terminal is a data terminal and a clock terminal, respectively, or whether the first input terminal and the second terminal is a clock terminal and a data terminal, respectively. The method also includes routing the first input terminal to a data terminal and the second input terminal to a clock terminal if first input terminal and the second input terminal are determined to be a data terminal and a clock terminal, respectively, and routing the first input terminal to the clock terminal and the second input terminal to the data terminal if first input terminal and the second input terminal are determined to be a clock terminal and a data terminal, respectively.

This application is a divisional and claims the benefit of U.S.Non-Provisional application Ser. No. 13/361,770, issued as U.S. Pat. No.8,775,714, filed on Jan. 30, 2012, which application is herebyincorporated herein by reference in its entirety.

TECHNICAL FIELD

An embodiment of the invention relates generally to electronic circuitsand methods, and more particularly to a system and method for a businterface.

BACKGROUND

In addition to having a radio frequency (RF) transceiver, many modernmobile communication platforms also use further front end componentssuch as power amplifiers, active antenna tuners, low noise amplifiers,and antenna switches. Moreover, in multiple antenna systems, such asmultiple input multiple output (MIMO) systems, and multiple protocolsystems, the RF system may have a multitude of various selectable andconfigurable components that support each particular signal path and/orprotocol. Many of these multiple radio frequency components arecontrollable by a digital bus in order to provide control andconfiguration in various operational modes.

One such digital interface bus is based on a standardized protocoldeveloped by the MIPI Alliance called the radio front-end (RFFE) controlinterface described in the “MIPI® Alliance Specification for RFFront-End Control Interface,” version 1.10-26 Jul. 2011, which isincorporated herein by reference in its entirety. In particular, theMIPI interface is a low complexity interface targeted toward RF systemsusing semiconductor processes in which logic devices may be potentiallycostly, and therefore can be implemented in a minimum number of logicgates. The MIPI RFFE control interface bus contains its own power supplyvoltage, and data is transmitted via a CLK line and a DATA line. EachRFFE slave device coupled to the MIPI RFFE bus is identifiable via aslave identifier, a manufacturer identifier, and a product identifier. Arelatively high clock frequency of 26 MHz is used to for the RFFE bus inorder to facilitate timing-critical functionality across multipledevices.

SUMMARY OF THE INVENTION

In accordance with an embodiment, a method of operating a bus interfacecircuit includes detecting a start sequence on a plurality of inputterminals, determining whether a first input terminal and a second inputterminal is a data terminal and a clock terminal, respectively, orwhether the first input terminal and the second terminal is a clockterminal and a data terminal, respectively, based on detecting the startsequence. The method also includes routing the first input terminal to adata terminal and the second input terminal to a clock terminal if firstinput terminal and the second input terminal are determined to be a dataterminal and a clock terminal, respectively, and routing the first inputterminal to the clock terminal and the second input terminal to the dataterminal if first input terminal and the second input terminal aredetermined to be a clock terminal and a data terminal, respectively.

BRIEF DESCRIPTION OF THE DRAWINGS

The details of one or more embodiments of the invention are set forth inthe accompanying drawings and the description below. Other features,objects, and advantages of the invention will be apparent from thedescription and drawings, and from the claims. In the figures, identicalreference symbols generally designate the same component partsthroughout the various views, which will generally not be redescribed inthe interest of brevity. For a more complete understanding of theinvention, reference is now made to the following descriptions taken inconjunction with the accompanying drawings, in which:

FIGS. 1a-b illustrates a block diagram and a timing diagram for a RFFEbus system;

FIG. 2 illustrates a block diagram of an embodiment bus system;

FIG. 3 illustrates a block diagram of an embodiment bus slave device;

FIG. 4 illustrates an embodiment bus interface circuit;

FIG. 5 illustrates a schematic of an embodiment pin detection androuting circuit; and

FIG. 6 illustrates a block diagram of a RF system that utilizes anembodiment bus.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

The making and using of the presently preferred embodiments arediscussed in detail below. It should be appreciated, however, that thepresent invention provides many applicable inventive concepts that canbe embodied in a wide variety of specific contexts. The specificembodiments discussed are merely illustrative of specific ways to makeand use the invention, and do not limit the scope of the invention.

The present invention will be described with respect to exemplaryembodiments in a specific context, namely a slave bus interface circuitfor use in a radio frequency front-end (RFFE) control interface.Embodiments of the present invention may also be applied to businterface circuits directed toward other applications.

FIG. 1a illustrates conventional MIPI RFFE system 100 having radiofrequency integrated circuit (RFIC) 102 coupled to front end modules(FEM) 106, 108 and 110. RFIC 102 may contain RF transceiver circuitry,and front end modules 106, 108, and 110 may contain low noiseamplifiers, power amplifiers, RF switches, bandpass filters, and thelike. RFIC 102 also contains RFFE master interface 104, which functionsas a bus master for a MIPI RFFE bus. RFFE master interface 104communicates with RFFE slave interfaces 112, 114 and 116 within FEMs106, 108 and 110, respectively via clock signal SCLK and data signalSDATA. The MIPI RFFE bus also has its own external and switchable supplyvoltage for the I/O interface (VIO). In conventional RFFE bus systems,each RFFE slave device is identified by a slave identifier (USID),manufacturer ID, and product ID. The MIPI Specification allows up to 15slaves to be on the bus and specifies the address range of the componenttypes. The manufacturer ID is defined by the MIPI Alliance and theproduct ID is defined by the manufacturer. If, however, two identicalRFFEs, for example, two devices of the same kind produced by the samemanufacturer, are coupled to the same SCLK and SDATA signals, a busconflict may occur, and RFFE master interface 104 may be unable todistinguish between the two identical RFFE devices. In some conventionalembodiments, this situation may be addressed by using additional pins toindependently enable, disable or address identical FEM's.

FIG. 1b illustrates a timing diagram of a MIPI RFFE bus interfaceshowing one example of the RFFE protocol. Here, a transmission startswith an asynchronous RFFE start condition. At the beginning of a datatransmission, data signal SDATA is pulsed high and then low, while clocksignal SCLK is low before clock signal SCLK begins toggling. Theprotocol continues with possible command sets (read/write command),which are defined in the MIPI RFFE specification.

FIG. 2 illustrates bus system 200 according to an embodiment of thepresent invention. Here, RFIC 202 coupled to FEMs 206 and 208, which maybe identical modules. In an embodiment, the DATA and SCLK lines of RFFEmaster interface 204 is coupled to the DATA and CLK inputs, respectivelyof RFFE slave interface 210 of FEM 206, but are coupled to the CLK andDATA inputs, respectively of RFFE slave interface 212 of FEM 208. Inembodiments of the present invention, RFFE slave interfaces 210 and 212are configured to determine whether the CLK and DATA pins have beeninterchanged by sensing the identity of the CLK and DATA pins. If a RFFEslave interfaces senses that the CLK and DATA pins are reversed, as inthe case of RFFE 212, the RFFE slave interface reprograms the USIDand/or the product ID within the device, such that the two identicalRFFE slave interface devices become independently addressable by theRFFE master interface 204. In alternative embodiments, other identifyingregisters may be modified.

FIG. 3 illustrates bus slave interface 300 according to an embodiment ofthe present invention. Bus slave interface 300 has data pin that detectswhether commutable hardware pins 302 and 304 or data and clock pinsrespectively or detects whether commutable hardware pins 302 and 304 orclock and data pins respectfully. Once the identity of these pins aredetected, data pin detector 306 routes the correct signals to data asclock inputs 312 and 314 to MIPI RFFE interface 310. In an embodiment,data pin detector 306 also modifies product ID register 308 according tothe polarity of commutable hardware pins 302 and 304. In someembodiments of the present invention register 308 may also be a registerthat contains the slave identifier instead of the product ID. It evenfurther embodiments of the present invention, other ID registers may bemodified instead of or addition to the product ID or the slave ID.

In an embodiment, data pin detector 306 determines the identity ofcommutable hardware pins 302 and 304 by detecting an RFEE startcondition on these pins. For example if data pin detector 306 determinesthat the first data pulse occurs on pin 302, data pin detector 306routes the data on pin 302 to DATA signal 312, and routes the clock onpin 304 to CLK signal 314. If, on the other hand, data pin detector 306determines that the first data pulse occurs on pin 304, data pindetector 306 routes the data on pin 304 to DATA signal 312, and routesthe clock on pin 302 to CLK signal 314.

FIG. 4 illustrates an embodiment RFFE slave interface 400, which may beused to implement block 310 in FIG. 3. Slave interface 400 has statemachine 404 as well as various registers 402 406 408 410 and 412. Statemachine 404 may operate according to the MIPI RFFE specification;however in alternative embodiments of the present invention other businterface protocols may be used. PM_TRIG register 402 is addressable bythe interface bus and may control the power modes of the device to whichthe slave interface is coupled. Register 406 may be used to controlvarious parameters of the front and device to switch the slave interfaceis controlling. For example, register 406 may be used to control theswitch state of an antenna switch, the gain settings of an adjustablegain amplifier. Product ID register 408 may contain the product ID,manufacturer ID register 410 may contain the manufacturer ID, andmanufacturer ID MSB and USID register may contain the MSB of themanufacturer ID and the slave identifier. In an embodiment of thepresent invention, the slave identifier in 412 may be alterable by datapin detector 306 shown in FIG. 3. In some embodiments, interface 400 mayalso include other registers, such as spare registers, to extend thefunctionality of the interface. It should be understood that the RFFEinterface illustrated in FIG. 4 is just one example of many possibleembodiment interface architectures. In alternative embodiments of thepresent invention, interface 400 may support other protocols such asinter-integrated circuit (I²C), system management bus (SMB), or serialperipheral interface (SPI) without chip select (CS).

FIG. 5 illustrates a schematic diagram of an embodiment data pindetector 500 that may be used, for example, to implement data pindetector 306 illustrated in FIG. 3. In an embodiment, signals DA_in andDB_in and represent signals on the input pins, and signals DA_out andCLK_out represent the data and clock inputs to the slave bus interface.Data pin detector 500 determines which of DA_in or DB_in is the CLK andDATA signals and routes these signals to output pins DA_out and CLK_outaccordingly via multiplexer block 505.

In an embodiment, the data pin detector 500 is placed in an initialstate after a reset pulse asserted via signal Reset. In someembodiments, this reset pulse is provided by the system at initial powerup. Start condition detection block 502 determines observes both inputsDA_in and DB_in and waits for a RFFE start condition. This RFFE startcondition is sensed by detecting the first data pulse using flip-flops506 and 508 to detect a data pulse on line DA_in or by using flip-flops510 and 512 to detect a data pulse on line DB_in. After an occurrence ofan RFFE start condition, memory block 504 stores the detected pinallocation via flip-flops 514 and 516. In an embodiment, output signalsDA_en_out and DB_en_out may be used to manipulate the slave ID and/orproduct ID code once the pin configuration is detected. In the depictedembodiment, both DA_en_out and DB_en_out are high after Reset isasserted. If DA_in is determined to be the DATA pin, signal DA_en_outgoes low while signal DB_en_out remains high. Conversely, if DB_in isdetermined to be the DATA pin, signal DB_en_out goes low while signalDA_en_out remains high.

It should be appreciated that the circuit shown in FIG. 5 is just one ofmany implementation examples of an embodiment data pin detector. Inalternative embodiments of the present invention, other equivalent logicstructures may be used. In further embodiments that use differentinterface protocols, other logic may be used according to the particularsystem, its specifications, and the particular protocol beingimplemented. In further embodiments, data pin detector logic may beimplemented, for example, by using Very High Speed Integrated Circuit(VHSIC) Hardware Description Language (VHDL) and/or Verilog source codeand other logic synthesis techniques known in the art.

FIG. 6 illustrates a block diagram of RF system 600 that utilizes anembodiment bus interface. An RFIC 602 may be for example a transceiverchip or chipset that implements any one of many radio frequencyprotocols such as Global System for Mobile Communications (GSM),Universal Mobile Telecommunications System (UMTS), Long Term Evolution(LTE), Code Division Multiple Access 2000 (CDMA2000) and WorldwideInteroperability for Microwave Access (WiMAX). In an embodiment, RFIC602 has two receive input paths RX1 and RX2 and two transmit outputpaths TX1 and TX2. Receive input path RX1 is coupled to low noiseamplifier (LNA) 602 and bandpass filter 610, receive input path RX2 iscoupled to LNA 604 and bandpass filter 612, transmit output path TX1 iscoupled to power amplifier (PA) 606 and bandpass filter 614, andtransmit output path TX2 is coupled to PA 608 and bandpass filter 616.Each signal path is selectively coupled to antenna 620 via antennaswitch 618.

In an embodiment, blocks 602, 604, 606, 608, 610, 612, 614, 616, and 618are coupled to and controllable by interface bus 622, which contains aDATA line and a CLK line (not shown). Some or all of blocks 602, 604,606, 608, 610, 612, 614, 616, and 618 may contain embodiment slave businterfaces. Some block pairs may contain identical devices that arecoupled to bus 622 as described above with transposed DATA and clockpins. For example, LNAs 602 and 604 may be identical, PAs 606 and 608may be identical, bandpass filters 610 and 612 may be identical, andbandpass filters 614 and 616 may be identical. In one exampleembodiment, the DATA and CLK pins of LNA 602 may be coupled to the DATAand CLK lines of line of bus 622, while the DATA and CLK pins of LNA 602may be coupled to the CLK and DATA lines of bus 622, respectively in atransposed manner. As such master bus interface 624 in RFIC may addressthese identical blocks using separate slave and/or product IDs aftersystem initialization using embodiment systems and methods describedabove.

It should be appreciated that embodiments of the present invention maybe applied to other systems besides RF systems. For example, embodimentconcepts may be applied to various types of data interfaces that aredirected toward other various applications such as, but not limited tosensor interfaces, automotive data interfaces, and serial datainterfaces.

In accordance with an embodiment, a method of operating a bus interfacecircuit includes detecting a start sequence in a plurality of inputterminals. The plurality of input terminals may include a first inputterminal and a second input terminal. The method also includesdetermining whether the first input terminal and the second inputterminal is a data terminal and a clock terminal respectively, orwhether the first input terminal and the second input terminal is aclock terminal and a data terminal, respectively based on detecting thestart sequence. The method further includes routing the first inputterminal to a data terminal and the second input terminal to a clockterminal if the first input terminal and the second input terminal ordetermined to be a data terminal and a clock terminal, respectively, androuting the first input terminal to the clock terminal and the secondinput terminal to the data terminal of the first input terminal and thesecond input terminal or determined to be clock terminal and a dataterminal, respectively.

In an embodiment, the method further includes changing the address ofthe bus interface circuit of the first input terminal and the secondinput terminal is a clock terminal and the data terminal, respectively,based on the determining. The address of the bus interface circuit maybe a slave identifier address of a slave device.

In an embodiment, the method further includes receiving commands from adigital bus coupled to the first input terminal and the second inputterminal. The method may also include changing operational state of theradio frequency device based on the received commands. The method mayfurther include operating the bus interface circuit. Operating the businterface circuit may include operating a radio frequency front andcontrol interface.

In some embodiments, determining whether the first input terminal andthe second of the terminals of data terminal a clock terminal,respectively, includes determining that an initial signal pulsesreceived on the first input terminal before clock pulse is received onthe second input terminal. Furthermore, determining whether the firstinput terminal the second input terminal is a clock terminal and a dataterminal respectively, includes determining that an initial signal pulseis received on the second input terminal before clock pulses received onthe first input terminal.

In accordance with a further embodiment, a bus interface circuitincludes an interface detection circuit coupled to a first inputterminal and the second input terminal. The interface detection circuitis configured to determine whether the first input terminal and thesecond input terminal is a data terminal and a clock terminalrespectively, or whether the first input terminal and the second inputterminal is a clock terminal and a data terminal, respectively. The businterface circuit also includes a routing circuit coupled to theinterface detection circuit. The routing circuit may be configured tocouple the first input terminal to a data interface terminal and couplethe second input terminal to a clock interface terminal if the interfacedetection circuit determines that the first input terminal and thesecond input terminal is a data terminal and a clock terminal,respectively. The routing circuit may also be configured to couple thefirst input terminal to a clock interface terminal and couple the secondinput terminal to a data interface terminal if the interface detectioncircuit determines that the first input terminal and the second inputterminal is a clock terminal and a data terminal respectively.

In an embodiment, the bus interface circuit also includes bus interfacelogic coupled to the data interface terminal and the clock interfaceterminal. In some embodiments, the bus interface logic includes a radiofrequency front end interface. The bus interface logic may include thestate machine and a plurality of control registers.

In some embodiments, the bus interface logic includes an identificationregister coupled to the interface detection circuit. The interfacedetection circuit may be configured to change the value of theidentification register with the interface detection circuit determinesthat the first input terminal and the second input terminal is a clockterminal and a data terminal respectively. The bus interface logic mayinclude bus interface logic for slave device, and the identificationregister me include a slave identification register.

In some embodiments, the bus interface circuit may also includecontrollable RF component coupled to the bus interface logic. Thecontrollable RF component may be controllable via the first and secondinput terminals.

In some embodiments, the interface detection circuit is configured todetermine that the first input terminal and the second input terminal isa data terminal and a clock terminal respectively, if an initial signalpulses received on the first input terminal before a clock pulse isreceived on the second terminal. The interface detection circuit mayalso be configured to determine that the first input terminal and thesecond input terminal is a clock terminal and a data terminalrespectively if an initial signal pulses received on the second inputterminal before a clock pulse is received on the first input terminal.In an embodiment, the bus interface circuit may be disposed on anintegrated circuit.

In accordance with a further embodiment, a system includes a digital busthat includes a data line and a clock line. The system also includes afirst slave interface device having a first input terminal coupled tothe data line did a second input terminal coupled to the clock line.Also included is a second slave interface device having a first inputterminal coupled to the clock line and a second input terminal coupledto the data line. The second slave device and the first slave device areidentical circuits having a same initial identification address. In someembodiments the second slave device is configured to change its initialidentification address to a second identification address upon detectingthat the first input terminal is coupled to the clock line and that thesecond input terminal is coupled to the data line. The second slaveinterface device may detect that the first input terminal is coupled tothe clock line and that the second input terminal is coupled to the dataline by detecting an initial signal pulse on the second input terminalbefore clock pulse is received on the first terminal.

In an embodiment, the first slave interface device is coupled to a firstradio frequency component controllable via the digital bus andaddressable by the initial identification address. The second slaveinterface device is coupled to a second radio frequency componentcontrollable via the digital bus and addressable by the secondidentification address.

Advantages of some embodiments of the present invention include theability to address identical blocks in an MIPI RFFE system withoutadding additional pins and/or without having to separately manipulateVIO power supply pins during system startup.

A further advantage of some embodiments includes increased flexibilityin MIPI RFFE system design due to the simple usage of identicalcomponents.

Although the invention has been shown and described primarily inconnection with specific exemplary embodiments, it should be understoodby those skilled in the art that diverse changes in the configurationand the details thereof can be made without departing from the essenceand scope of the invention as defined by the claims below. The scope ofthe invention is therefore determined by the appended claims, and theintention is for all alterations that lie within the range of themeaning and the range of equivalence of the claims to be encompassed bythe claims.

What is claimed is:
 1. A system comprising: a digital bus comprising adata line and a clock line; a first slave interface device having aninput terminal A coupled to the data line and an input terminal Bcoupled to the clock line; and a second slave interface device having aninput terminal A coupled to the clock line and an input terminal Bcoupled to the data line, wherein the second slave interface device andthe first slave interface device are identical circuits such that theinput terminal A of the first slave interface device corresponds to theinput terminal A of the second slave interface device and the inputterminal B of the first slave interface device corresponds to the inputterminal B of the second slave interface device, and wherein the firstslave interface device and second slave interface device have a sameinitial identification address, wherein the data line and clock line areinterchangeable into the input terminal A and input terminal B of thefirst slave interface device and interchangeable into the input terminalA and input terminal B of the second slave interface device, and whereinthe first slave interface device and the second slave interface deviceare each configured to: receive a start condition on the input terminalA and the input terminal B, when the start condition is a first startcondition, couple the input terminal A to a data interface terminal andcouple the input terminal B to a clock interface terminal, and when thestart condition is a second start condition, couple the input terminal Bto the data interface terminal and couple the input terminal A to theclock interface terminal.
 2. The system of claim 1, wherein the secondslave interface device is configured to change its initialidentification address to a second identification address upon detectingthat that its input terminal A is coupled to the clock line and that itsinput terminal B is coupled to the data line.
 3. The system of claim 2,wherein the second slave interface device is configured to detect thatits input terminal A is coupled to the clock line and that its inputterminal B is coupled to the data line by detecting an initial signalpulse on its input terminal B before a clock pulse is received on itsinput terminal A.
 4. The system of claim 2, wherein: the first slaveinterface device is coupled to a first radio frequency (RF) componentcontrollable via the digital bus and addressable by the initialidentification address; and the second slave interface device is coupledto a second radio frequency (RF) component controllable via the digitalbus and addressable by the second identification address.
 5. The systemof claim 1, wherein the first slave interface device and the secondslave interface device each comprise: an interface detection circuitcoupled to the input terminal A and to the input terminal B, theinterface detection circuit configured to receive the start conditionand detect that the start condition is the first start condition ordetect that the start condition is the second start condition; and arouting circuit coupled to the interface detection circuit, the routingcircuit configured to perform the coupling of the input terminal A tothe data interface terminal and couple the input terminal B to the clockinterface terminal when the first start condition is detected, andcoupling of the input terminal A to the clock interface terminal andcouple the input terminal B to the data interface terminal when thesecond start condition is detected.
 6. The system of claim 5, whereinthe first slave interface device and the second slave interface deviceeach further comprise bus interface logic coupled to the data interfaceterminal and the clock interface terminal.
 7. The system of claim 1,wherein the first slave interface device and the second slave interfacedevice each comprise: a start condition detection circuit coupled to theinput terminal A and to the input terminal B, the start conditiondetection circuit configured to detect the first start condition when aninitial signal pulse is detected on the input terminal A before theinput terminal B, and to detect the second start condition when theinitial signal pulse is detected on the input terminal B before theinput terminal A; a memory coupled to the start condition detectioncircuit, the memory configured to be in a first state when the firststart condition is detected and to be in a second state when the secondstart condition is detected; and a multiplexer coupled to the memory andto the start condition detection circuit, the multiplexer configured toroute the input terminal A and the input terminal B by performing thecoupling of the input terminal A to the data interface terminal and theinput terminal B to the clock interface terminal when the memory is in afirst state, and coupling of the input terminal A to the clock interfaceterminal and the input terminal B to the data interface terminal whenthe memory is in the second state.
 8. A system comprising: a digital buscomprising a first bus line and a second bus line; a first slaveinterface device having a first input terminal coupled to the first busline and a second input terminal coupled to the second bus line; and asecond slave interface device having a first input terminal coupled tothe second bus line and a second input terminal coupled to the first busline, wherein the first slave interface device and the second slaveinterface device each comprise: an interface detection circuit coupledto the first input terminal and to the second input terminal, theinterface detection circuit configured to detect a start sequence on thefirst input terminal and the second input terminal, and a routingcircuit coupled to the interface detection circuit, the routing circuitconfigured to couple the first input terminal to a first interfaceterminal and couple the second input terminal to a second interfaceterminal when the start sequence comprises a first start sequencedetected by the interface detection circuit, and couple the first inputterminal to a second interface terminal and couple the second inputterminal to a first interface terminal when the start sequence comprisesa second start sequence detected by the interface detection circuit. 9.The system of claim 8, wherein the first slave interface device and thesecond slave interface device each comprise bus interface logic coupledto the first interface terminal and to the second interface terminal.10. The system of claim 9, wherein the bus interface logic comprises aradio-frequency (RF) front-end control interface.
 11. The system ofclaim 10, further comprising: a first radio frequency (RF) componentcoupled to the bus interface logic of the first slave interface device;and a second radio frequency (RF) component coupled to the bus interfacelogic of the second slave interface device.
 12. The system of claim 9,wherein the bus interface logic comprises a state machine and aplurality of control registers.
 13. The system of claim 9, wherein thebus interface logic comprises an identification register coupled to theinterface detection circuit, wherein the interface detection circuit isconfigured to change a value of the identification register when theinterface detection circuit detects the second start sequence.
 14. Thesystem of claim 8, wherein: the first bus line comprises a data line;the second bus line comprises a clock line; the first interface terminalcomprises a data terminal; and the second interface terminal comprises aclock terminal.
 15. A method of operating a slave interface circuitcomprising a first input terminal coupled to a first bus line of adigital interface bus, and a second input terminal coupled to a secondbus line of the digital interface bus, the method comprising: detectingan identification sequence on the first input terminal and the secondinput terminal; routing the first input terminal to a first interfaceterminal and the second input terminal to a second interface terminalwhen a first identification sequence is detected based on the detecting;and routing the first input terminal to the second interface terminaland the second input terminal to the first interface terminal when asecond identification sequence is detected.
 16. The method of claim 15,wherein the first bus line comprises a data line; the second bus linecomprises a clock line; the first interface terminal comprises a dataterminal; and the second interface terminal comprises a clock terminal.17. The method of claim 15, wherein: the first identification sequencecomprises a first start sequence; and the second identification sequencecomprises a second start sequence.
 18. The method of claim 15, furthercomprising changing an address of the slave interface circuit when thesecond identification sequence is detected.
 19. The method of claim 15,further comprising receiving commands from the digital interface bus.20. The method of claim 15, further comprising operating the slaveinterface circuit, wherein operating the slave interface circuitcomprises operating a radio-frequency (RF) front-end control interface.